package com.jy.modules.cims.component.imagesign;

import com.jy.modules.cims.data.interact.api.response.ResponseAttachSearchFileDTO;


public class TransReturnUrlDataDto{


	/**
	 * 本地临时地址
	 */
	private String fileLocalPath;
	
	private int fileType;
	
	private String fileRealName;
	
	/**
	 * 文件编号
	 */
	private String fkIntoId;
	
	/**
	 * 文件类型:N1
	 */
	private String attachType;
	
	/**
	 * 文件类型名：N1_35
	 */
	private String attachTypeItem;
	
	/**
	 * N
	 */
	private String attachBelongType;
	
	/**
	 * 文件地址
	 */
	private String attachUrl;
	
	/**
	 * 文件名字:借款协议.pdf
	 */
	private String attachName;
	
	/**
	 * 文件大小
	 */
	private String attachSize;
	
	/**
	 * 文件名字N1_35.pdf"
	 */
	private String codeName;
	
	
	/**
	 * DTO传值
	 * @author zhangmi
	 * @date  2016年12月26日
	 * @param returnDto
	 * @param copyDto
	 * @return
	 */
	public static TransReturnUrlDataDto entityToCopy(TransReturnUrlDataDto returnDto 
			,ResponseAttachSearchFileDTO copyDto){
		
		returnDto.setAttachType(copyDto.getFileCategory());
		returnDto.setFileRealName(copyDto.getFileRealName());
		returnDto.setAttachName(copyDto.getFileName());
		returnDto.setAttachTypeItem(""); //N1_35
		
		return returnDto;
	}
	
	public String getFileLocalPath() {
		return fileLocalPath;
	}

	public void setFileLocalPath(String fileLocalPath) {
		this.fileLocalPath = fileLocalPath;
	}

	public int getFileType() {
		return fileType;
	}

	public void setFileType(int fileType) {
		this.fileType = fileType;
	}

	public String getFileRealName() {
		return fileRealName;
	}

	public void setFileRealName(String fileRealName) {
		this.fileRealName = fileRealName;
	}

	public String getFkIntoId() {
		return fkIntoId;
	}

	public void setFkIntoId(String fkIntoId) {
		this.fkIntoId = fkIntoId;
	}

	public String getAttachType() {
		return attachType;
	}

	public void setAttachType(String attachType) {
		this.attachType = attachType;
	}

	public String getAttachTypeItem() {
		return attachTypeItem;
	}

	public void setAttachTypeItem(String attachTypeItem) {
		this.attachTypeItem = attachTypeItem;
	}

	public String getAttachBelongType() {
		return attachBelongType;
	}

	public void setAttachBelongType(String attachBelongType) {
		this.attachBelongType = attachBelongType;
	}

	public String getAttachUrl() {
		return attachUrl;
	}

	public void setAttachUrl(String attachUrl) {
		this.attachUrl = attachUrl;
	}

	public String getAttachName() {
		return attachName;
	}

	public void setAttachName(String attachName) {
		this.attachName = attachName;
	}

	public String getAttachSize() {
		return attachSize;
	}

	public void setAttachSize(String attachSize) {
		this.attachSize = attachSize;
	}

	public String getCodeName() {
		return codeName;
	}

	public void setCodeName(String codeName) {
		this.codeName = codeName;
	}
}
